import request from '@/utils/request'

export function listRoute(query){
    return request({
        url: '/route',
        method: 'get',
        params: query
    })
}

export function getRouteDetailByRouteId(routeId){
    return request({
        url: '/route/' + routeId,
        method: 'get'
    })
}